package com.example.demo.mapper;

import com.example.demo.pojo.Setting;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SettingMapper {
    //查询配置项
    List<Setting> settingSelect(String key);
    //删除配置项
    void deleteSetting(Integer id);
    //修改配置项
    void updateSetting(Setting setting);
    //普通用户获取配置项
    List<Setting> settingPuTongSelect(String key);

    int selectValue(String key);
}
